package org.clockworkmages.games.anno1186.scripting;

import org.clockworkmages.games.anno1186.GameCharacterService;
import org.clockworkmages.games.anno1186.GameDataService;
import org.clockworkmages.games.anno1186.GameGuiService;
import org.clockworkmages.games.anno1186.GameStateService;
import org.clockworkmages.games.anno1186.Injected;
import org.clockworkmages.games.anno1186.model.character.GameCharacter;

public class PlayerCharacterScriptingWrapper
		extends GameCharacterScriptingWrapper {

	@Injected
	private GameStateService gameStateService;

	@Injected
	private GameDataService gameDataService;

	@Injected
	private GameGuiService gameGuiService;

	@Injected
	private UtilScriptingWrapper utilScriptingWrapper;
	@Injected
	private GameCharacterService gameCharacterService;

	@Override
	protected GameCharacter getGameCharacter() {
		return gameStateService.getGameState().getCharacter();
	}

	@Override
	protected GameDataService getGameDataService() {
		return gameDataService;
	}

	@Override
	protected GameGuiService getGameGuiService() {
		return gameGuiService;
	}

	@Override
	protected GameStateService getGameStateService() {
		return gameStateService;
	}

	@Override
	protected UtilScriptingWrapper getUtilScriptingWrapper() {
		return utilScriptingWrapper;
	}

	@Override
	public GameCharacterService getGameCharacterService() {
		return gameCharacterService;
	}

	protected boolean isMe() {
		return true;
	}

}
